package com.iplay.dahua.chapter2.decorator;

/**
 * @author dangwu
 * @since 2021/7/27 1:03 下午
 */
public class ConcreteDecoratorB extends Decorator{

    @Override
    public void operation() {
        super.operation();
        addedBehavior();
        System.out.println("具体装饰对象B的操作");
    }

    private void addedBehavior(){
        System.out.println("B添加举止");
    }
}
